<template>
    <div class="home">
      <div class="home_conteng" v-for="home in ProductoneListArray">
        <ul @click="homecon(home.id)">
          <li class="width_a hea_">
            <div class="heade_">
              <!--<span>{{home.icon}}</span>-->
              <!--<span>  <img :src='home.icon'/></span>-->
              <!--<span>{{home.name}}</span>-->
              <div class="hea_icon">
                <img :src='home.icon'/>
              </div>
              <div class="hea_name">
                {{home.name}}
              </div>
            </div>
            <div class="make">
              {{home.situation}}
              <!--<span style="color: #0f2dcd;">{{home.situation}}</span>-->
            </div>
          </li>
          <li class="img_ width_a">
            <img :src='home.image'/>
          </li>
          <li class="add_name width_a">
            <div class="width_a">
              {{home.title}}
            </div>
          </li>
          <li class="gen_duo width_a">
            <span>更多</span>
            <span>收益权</span>
            <span>北京</span>
          </li>
          <li class="delice_ width_a">
            <span>{{home.deletes}}</span>
          </li>
          <li class="footer_ width_a">
            <div class="time">
              <div class="blue_">剩余时间：{{home.time}}</div>
            </div>
            <div class="jindu">
              <div class="red_">预约进度{{home.speed}}</div>
            </div>
          </li>
          <li class=" jindu_tiao width_a">
            <div :style="{width:jindu+'%'}" class="header_jindu"></div>
            <!--<mt-progress :value="home.num" :bar-height="2"></mt-progress>-->
          </li>
        </ul>
      </div>

    </div>
</template>
<script>
    export default {
        props: {
          ProductoneListArray: {
            type: Array,
            default() {
              return []
            }
          }
        },
        components: {

        },
        data() {
            return {
              jindu:20,
            }
        },
        methods: {},
        watch: {},
        computed: {
            //计算属性
        },
        created() {

        },
        mounted() {
            //生命周期
        }
    }
</script>
<style scoped>
  .home {
    width: 100%;
    height: 100%;
    background: #f6f6f6;
  }

  .width_a {
    width: 100%;
  }

  .hea_ {
    height: 36px;
  }
.header_jindu{
  height: 2px;
  background: #26a2ff;
}
  .heade_ {
    width: 40%;
    float: left;
    height: 30px;
  }
  .hea_icon{
      width:35%;
      height:100%;
      float: left;
  }
  .hea_icon img{
    width: 30px;
    height: 30px;
    background-size: 100% 100%;
    display: block;
    border-radius: 50%;
  }
  .hea_name{
    float: left;
    width:60%;
    height:100%;
    line-height: 30px;
    color: #464c5b;
    font-size: 12px;
  }

.img_ width_a{
  margin-top: 15px;
  height: 232px;
  width: 100%;
}
  .make {
    width: 30%;
    float: right;
    text-align: right;color: #0f2dcd;
    line-height: 30px;
  }

  .hea_ div span {
    font-size: .75rem;
    color: #000;
  }

  .home_conteng {
    background: #fff;
    padding: 0 .9375rem;
    margin-bottom: .625rem;
  }

  .img_ {
    height: 232px;
  }

  .img_ img {
    display: block;
    width: 100%;
    height: 100%;
  }

  .add_name {
    height: 41px;
    margin-top: 0.9625rem;
  }

  .add_name div {
    height: 100%;
    line-height: 41px;
    font-size: 1.125rem;

  }

  .gen_duo {
    font-size: .75rem;
    font-family: "iconfont" !important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    height: 15px;
  }

  .gen_duo span {
    display: block;
    float: left;
    width: 33.33%;
    height: 100%;
    color: #a2a2a2;
  }

  .delice_ {
    height: 42px;
    margin-top: 15px;
    padding: 0;
    overflow: hidden;
  }

  .delice_ span {
    display: block;
    width: 100%;
    font-size: 13px;
    height: 100%;

    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2; /*第几排被隐藏*/
    -webkit-box-orient: vertical;
  }

  .footer_ {
    height: 32px;
    margin-top: 15px;
  }

  .time {
    width: 52%;
    height: 100%;
    float: left;
  }

  .time div {
    width: 54%;
    height: 100%;
    border-radius: 5px;
    line-height: 32px;
    text-align: center;
    font-size: .6875rem;
    color: deepskyblue;
    box-shadow: 2px 2px 9px 1px #c1cbd6;
  }

  .jindu {
    width: 45%;
    height: 100%;
    height: 100%;
    float: right;
  }

  .jindu div {
    width: 54%;
    height: 100%;
    border-radius: 5px;
    /*border:1px solid mediumvioletred;*/
    color: mediumvioletred;
    line-height: 32px;
    text-align: center;
    font-size: .6875rem;
    float: right;
    box-shadow: 2px 2px 9px 1px #c1cbd6;
  }

  .jindu_tiao {
    height: 27px;
    padding-top: 18px;
  }

  ul {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    padding: .9375rem 0;
  }

</style>
